package com.qzing.springbootmybatisdemo05.pojo;


///// 赛事赛果
//CREATE TABLE `gresult` (
//        `id` int(11) NOT NULL AUTO_INCREMENT,
//        `matchid` varchar(30) DEFAULT NULL COMMENT '赛事ID\n',
//        `rtype` varchar(45) DEFAULT NULL COMMENT '赛果类型\n',
//        `score` varchar(20) DEFAULT NULL COMMENT '得分\n',
//        PRIMARY KEY (`id`)
//        ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='赛果表\n';
//


/**
 * @Description: TODO
 * @author: scott
 * @date: 2023年02月06日 16:22
 */
public class GResult {
    private Integer id;
    private Integer matchid;
    private String rtype;
    private String score;

    public GResult(Integer id, Integer matchid, String rtype, String score) {
        this.id = id;
        this.matchid = matchid;
        this.rtype = rtype;
        this.score = score;
    }

    public GResult() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMatchid() {
        return matchid;
    }

    public void setMatchid(Integer matchid) {
        this.matchid = matchid;
    }

    public String getRtype() {
        return rtype;
    }

    public void setRtype(String rtype) {
        this.rtype = rtype;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "GResult{" +
                "id=" + id +
                ", matchid=" + matchid +
                ", rtype='" + rtype + '\'' +
                ", score='" + score + '\'' +
                '}';
    }
}
